<!--
 * @Author: fanyaqing
 * @Date: 2021-08-15 16:24:37
 * @LastEditTime: 2021-08-15 17:34:00
 * @LastEditors: fanyaqing
 * @Description: 
 * @FilePath: \supermall\src\views\shopcart\childComponents\CheckButton.vue
-->
<template>
  <div class="check-button" :class="{check:isChecked}">
    <img src="~assets/img/cart/tick.svg" >
  </div>
</template>
<script>
export default {
  props:{
    isChecked:{
      type:Boolean,
      default:false
    }
  }
  
}
</script>
<style scoped>
  .check-button{
    border-radius: 50%;
    border: 2px solid #aaa;
  }
  .check{
    background-color: red;
    border: 2px solid red;

  }
</style>